<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 17.04.2015
 * Time: 14:42
 */

namespace LogCollector;


class LogActionStatistics extends \Model {
	public $action;
	public $time;
	public $startCount;
	public $endCount;
	public $logCount;
	public $infoCount;
	public $warnCount;
	public $errorCount;

	static function fields()
	{
		return array_merge(
			parent::fields(),
			[
				'action' => self::STRING,
				'time' => self::DATE,
				'startCount' => self::STRING,
				'endCount' => self::STRING,
				'logCount' => self::STRING,
				'infoCount' => self::STRING,
				'warnCount' => self::STRING,
				'errorCount' => self::STRING,
			]
		);
	}
}